SHORTCODE_ADDONS\Core\RestApi B

Total Complexity 86
Dependencies 2
Dependents 2
Total lines 614
Lines of code 468
Logical lines of code 288
Comment lines 55
Methods 23
Properties 0

Methods 23

Method Rating Maintainability Complexity Lines of code
activate_license()
A
41 13 52
post_addons_settings()
A
49 9 31
ajax_action()
A
53 8 20
allowed_html()
S
38 2 92
api_action()
S
55 7 17
import_json_template()
S
49 6 27
post_oxi_license()
S
52 5 23
deactivate_license()
S
52 5 23
get_permissions_check()
S
56 4 18
post_elements_template_create()
S
52 3 22
validate_post()
S
59 3 14
post_elements_template_modal_data()
S
62 3 11
post_elements_template_style_data()
S
52 2 23
post_shortcode_export()
S
53 2 21
post_elements_template_modal_data_delete()
S
66 2 8
post_elements_template_old_version()
S
67 2 7
post_elements_template_change_name()
S
63 2 10
post_elements_template_modal_data_edit()
S
62 2 10
post_shortcode_delete()
S
63 2 10
post_elements_template_render_data()
S
58 1 14
send_file_headers()
S
67 1 8
build_api()
S
79 1 3
get_get_template_data()
S
76 1 4